package com.example.myapplication.handler;

import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.example.myapplication.base.BaseActivity;

/**
 * Created by ymz0427 on 2021/10/16
 */
public class HandlerActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        RequestHandlerThread handlerThread = new RequestHandlerThread();
//        handlerThread.start();
//        handlerThread.execute();

        startService(new Intent(this, RequestIntentService.class));
        startService(new Intent(this, RequestIntentService.class));
        startService(new Intent(this, RequestIntentService.class));
        startService(new Intent(this, RequestIntentService.class));
        startService(new Intent(this, RequestIntentService.class));
        startService(new Intent(this, RequestIntentService.class));
    }


}
